package com.JavaBean.Stu_Sco_Cou_Tea;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class Students {
    private String sno;
    private String sname;
    private String ssex;
    private String sbirthday;
    private String classname;
    private List<Scores> scores;


    public Students() {
    }

    public Students(String sno, String sname, String ssex, String sbirthday, String classname, List<Scores> scores) {
        this.sno = sno;
        this.sname = sname;
        this.ssex = ssex;
        this.sbirthday = sbirthday;
        this.classname = classname;
        this.scores = scores;
    }

    /**
     * 获取
     * @return sno
     */
    public String getSno() {
        return sno;
    }

    /**
     * 设置
     * @param sno
     */
    public void setSno(String sno) {
        this.sno = sno;
    }

    /**
     * 获取
     * @return sname
     */
    public String getSname() {
        return sname;
    }

    /**
     * 设置
     * @param sname
     */
    public void setSname(String sname) {
        this.sname = sname;
    }

    /**
     * 获取
     * @return ssex
     */
    public String getSsex() {
        return ssex;
    }

    /**
     * 设置
     * @param ssex
     */
    public void setSsex(String ssex) {
        this.ssex = ssex;
    }

    /**
     * 获取
     * @return sbirthday
     */
    public String getSbirthday() {
        return sbirthday;
    }

    /**
     * 设置
     * @param sbirthday
     */
    public void setSbirthday(String sbirthday) {
        this.sbirthday = sbirthday;
    }

    /**
     * 获取
     * @return classname
     */
    public String getClassname() {
        return classname;
    }

    /**
     * 设置
     * @param classname
     */
    public void setClassname(String classname) {
        this.classname = classname;
    }

    /**
     * 获取
     * @return scores
     */
    public List<Scores> getScores() {
        return scores;
    }

    /**
     * 设置
     * @param scores
     */
    public void setScores(List<Scores> scores) {
        this.scores = scores;
    }

    public String toString() {
        return "Students{sno = " + sno + ", sname = " + sname + ", ssex = " + ssex + ", sbirthday = " + sbirthday + ", classname = " + classname + ", scores = " + scores + "}";
    }
}
